<?php defined('LIBRARY') or die('No direct script access.');
class BE_Controller extends Controller {
    protected $registry;
    function __construct($registry) {
        $this->registry = $registry;
        parent::__construct($registry);
        $language = new Language($this->setting->language_admin_locale,'backend');
        $this->language=$language;
        if(!$_SESSION['admin']) {
            redirect(ADMIN_URL.'login');
        }
    }
}
/* End of file BE_Controller.php */